include_rules = [
  # Do NOT add components/cast or other Cast-specific code to this file.
  "+cc/base",
  "+components/cast_streaming/common",
  "+components/client_hints/browser",
  "+components/favicon/content",
  "+components/favicon/core",
  "+components/keyed_service/content",
  "+components/keyed_service/core",
  "+components/on_load_script_injector/browser",
  "+components/network_session_configurator/common/network_switches.h",
  "+components/permissions",
  "+components/profile_metrics",
  "+components/policy/content",
  "+components/site_isolation",
  "+components/strings",
  "+components/url_rewrite/browser",
  "+components/url_rewrite/common",
  "+components/url_rewrite/mojom",
  "+components/viz/common",
  "+content/public/common",
  "+content/public/browser",
  "+gpu/config",
  "+media/base",
  "+media/capabilities",
  "+media/mojo/common",
  "+media/mojo/mojom",
  "+media/mojo/services",
  "+mojo/public/cpp/bindings",
  "+mojo/public/cpp/system",
  "+services/media_session/public/mojom",
  "+services/metrics/public/cpp/ukm_source_id.h",
  "+services/network/public/cpp",
  "+services/network/public/mojom",
  "+services/resource_coordinator/public",
  "+third_party/blink/public",
  "+third_party/skia/include/core",
  "+third_party/widevine/cdm",
  "+ui/accessibility",
  "+ui/aura",
  "+ui/base/ime",
  "+ui/compositor",
  "+ui/display",
  "+ui/events",
  "+ui/gfx",
  "+ui/gl",
  "+ui/ozone/public",
  "+ui/platform_window",
  "+ui/wm/core",
]

specific_include_rules = {
  ".*_(unit|browser|api)test\.cc": [
    "+content/public/test",
    "+services/network",
  ],
  "explicit_sites_filter_browsertest.cc": [
    "+components/safe_search_api",
  ],

  # Exceptions related to Cast Streaming.
  "cast_streaming_browsertest\.cc" : [
    "+components/cast/message_port",
    "+components/cast_streaming/test",
  ],
  "context_impl\.cc" : [
    "+components/cast_streaming/browser/public"
  ],
  "receiver_session_client\.cc" : [
    "+components/cast/message_port",
    "+components/cast_streaming/browser/public",
  ],
}
